gtkmodelmenu: move to new action regime
authorRyan Lortie <desrt@desrt.ca>
Sat, 18 Aug 2012 03:13:42 +0000 (23:13 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 20 Aug 2012 17:13:49 +0000 (13:13 -0400)
commitdd45862a066474d0ebf9330f6c090f99a3422a63
tree62fda20aa61710c00f469db8b497a667129b1cdd
parentea5a56dacfdabf6a6c8c035a77cdda43e6c03a4d
gtkmodelmenu: move to new action regime

Drop the explicit passing of GActionGroup into the GtkMenu(Bar)
constructors and operate from the action context instead.

With GtkMenuItem implementing GtkActionable, this turns out to be pretty
easy (and most of the code can be removed from GtkModelMenuItem,
including the GActionObserver implementation).
gtk/gtkapplicationwindow.c
gtk/gtkmodelmenu.c
gtk/gtkmodelmenu.h
gtk/gtkmodelmenuitem.c
gtk/gtkmodelmenuitem.h